#pragma once
#include <stdio.h>
#include <stdlib.h>


typedef struct _Array2D {
    int * data;
    int width;
	int height;
} Array2D;
 
void arr2d_init(Array2D *arr, int height, int width);
int arr2d_get(Array2D *arr, int i, int j);
void arr2d_put(Array2D *arr, int i, int j, int value);
void arr2d_delete(Array2D *arr);
int * arr2d_resize(Array2D *arr, int i, int j);